<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/jsp/include/header.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<title>仓储管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.1.min.js"></script>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui-1.2.5/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui-1.2.5/themes/icon.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/plugins/jquery.validatebox.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/validatebox.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/globalMaps.js"></script>
		<script type="text/javascript">
			var maaa = '${invma.maaa}';
			var maab = '${invma.maab}';
			var maac = '${invma.maac}';
			<c:forEach items="${globalUmUser.mdafs}" var="mdaf" varStatus="s">
				globalMaps.put('${mdaf}', '${mdaf}');
			</c:forEach>
		</script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/inv/invmb.js"></script>
	</head>
	<body>
		<div id="menuDiv" style="padding:5px;background:#fafafa;width:980px;"></div>
		<div id="listDiv" style="padding:3px 2px;height:30px;width:980px">
			<table>
				<tr>
					<td align="right">单别：</td>
					<td align="left"><input type="text" class="easyui-validatebox" id="invmaAa" name="maab" maxlength="20" required="true" value="${invma.maaa}" readOnly="readonly" /></td>

					<td align="right">单号：</td>
					<td align="left"><input type="text" class="easyui-validatebox" id="invmaAb" name="maab" maxlength="20" required="true" value="${invma.maab}" readOnly="readonly"/></td>
					<td align="right">单据日期：</td>
					<td align="left"><input type="text" name="maad" id="invmaAd" class="easyui-validatebox" maxlength="20" required="true" value="${invma.maad}" readOnly="readonly"></td>
				</tr>
			</table>
		</div>
		<!-- 表格 -->
		<table id="invmbTable" border="0" cellspacing="0" cellpadding="0" width="98%" pagination="true" remoteSort="false" singleSelect="false" idField="mbac" showFooter="false" striped="true" url="<c:url value='/invmb/invmbList.xhtml'><c:param name="maaa" value="${maaa}"/><c:param name="maab" value="${maab}"/></c:url>">
			<thead>
				<tr align="center">
					<th field="mbac" width="70">序号</th>
					<th field="mbad" width="70">物料编号</th>
					<th field="mbae" width="100">物料描述1</th>
					<th field="mbaf" width="100">物料描述2</th>
					<th field="mbag" width="50" >单位</th>
					<th field="mbah" width="50">数量</th>
					<th field="mbai" width="50">已完成数量</th>
					<th field="mbaj" width="50">剩余数量</th>
					<th field="mbak" width="50">开始日期</th>
					<th field="mbal" width="50">开始时间</th>
					<th field="mbam" width="50">结束日期</th>
					<th field="mban" width="50">结束时间</th>
				</tr>
			</thead>
		</table>
	</body>
</html>